Systems and methods for file management by mobile computing devices

ABSTRACT

A method of file management by mobile computing devices includes: storing a plurality of base files in a memory; causing a remote server to store copies of the plurality of base files; storing, in the memory, a plurality of preview files; responsive to determining that the memory is not sufficient for performing a memory write operation, selecting a first base file of the plurality of base files; removing the first base file from the memory; responsive to receiving a user interface command requesting the first base file, presenting a preview file corresponding to the first base file; and responsive to receiving a subsequent user interface command explicitly requesting a full size file corresponding to the preview file: selecting a second base file of the plurality of base files, removing the second base file from the local memory, and retrieving a copy of the first base file from the remote server.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a national phase application filed under 35 U.S.C. § 371 of PCT/RU2013/000332, titled “Systems and Methods for File Management by Mobile Computing Devices,” filed Apr. 18, 2013, the content of which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

The present disclosure is generally related to computer systems, and is more specifically related to systems and methods for file management by mobile computing devices.

BACKGROUND

A mobile computing device may have numerous input/output (I/O) interfaces and/or peripheral devices, such as, for example, a still image camera, a video camera, and/or a microphone. Files acquired by the mobile computing device via these and other I/O interfaces may be stored in the local memory of the mobile computing device.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure is illustrated by way of examples, and not by way of limitation, and may be more fully understood with references to the following detailed description when considered in connection with the figures, in which:

FIG. 1 depicts a network-level diagram of one illustrative embodiment of a mobile computing device performing the file management in accordance with one or more aspects of the present disclosure;

FIG. 2 schematically illustrates a data structure for tracking access to the files stored on the mobile computing device, in accordance with one or more aspects of the present disclosure;

FIG. 3 schematically illustrates an example of the file management method in accordance with one or more aspects of the present disclosure;

FIG. 4 schematically illustrates several data structures supported by the computer system executing a calendar application in accordance with one or more aspects of the present disclosure;

FIGS. 5a-5b schematically illustrate examples of calendar views rendered by the computer system executing a calendar application in accordance with one or more aspects of the present disclosure;

FIGS. 6a-6b schematically illustrate examples of notebook views rendered by the computer system executing a calendar application in accordance with one or more aspects of the present disclosure;

FIG. 7 depicts a flow diagram of a file management method, in accordance with one or more aspects of the present disclosure; and

FIG. 8 depicts a block diagram of an illustrative computer system operating in accordance with examples of the present disclosure.

DETAILED DESCRIPTION

Described herein are methods and systems for file management by mobile computing devices. A “mobile computing device” herein shall refer to a portable device having at least one processor, a memory, and at least one communication interface. It should be noted, however, that systems and methods described herein may be equally applicable to non-portable computer systems, such as, e.g., desktop computers.

A mobile computing device may input information over a variety of interfaces, including, e.g., a keyboard, a touch screen, a network interface, a microphone, a video camera, a still image camera, and/or a microphone. Such a mobile computing device may be capable of inputting still image files, video stream files, audio stream files, and/or document files (e.g., text files).

In certain implementations, a mobile computing device may, responsive to acquiring a file (e.g., a still image file), store the acquired file in its local memory. “Memory” herein shall refer to the random access memory (RAM) and/or storage memory. The latter may be represented by one or more file systems residing in a non-volatile memory, such as EEPROM, flash memory, disk memory, etc.

Responsive to acquiring a file, the mobile computing device may also transmit, e.g., over a wireless communication interface, a copy of the acquired file to a file server. The mobile computing device may further store in the local memory a preview file derived from the acquired image file. The preview file may be, e.g., in a form of thumbnail image or other reduced size image, or a reduced resolution image.

The mobile computing device may further attempt a memory write operation (e.g., storing in a local file system a newly acquired image file). Should the space available in the local file system of the mobile computing device be insufficient to allow completion of the attempted memory write operation, the mobile computing device may select one or more previously acquired files for removal from the local file system, thus releasing the space necessary to store the newly acquired file. In one illustrative example, the mobile computing device may remove the least accessed, by the number of file access operations, file. In another example, the mobile computing device may remove the least recently accessed file. In a further example, the mobile computing device may remove the least recently acquired file.

Responsive to removing one or more selected files, the mobile computing device may complete the attempted memory write operation (e.g., storing a newly acquired image file in the local file system). Then, responsive to eventually receiving a user interface command requesting a file that has previously been removed from the local memory, the system may present the corresponding preview file. Responsive to receiving a user interface command explicitly directed to a full size file, the system may retrieve the full size file from the server on which the file has initially been stored.

Thus, the mobile computing device may store preview files for at least some of the files acquired by the mobile computing device, and may further store full size versions of the files for a subset of the acquired files, to the extent that the full size files may be accommodated in the file system of the mobile computing device. A full size file may be removed from the file system in order to accommodate a newly acquired file, and a preview file may be presented to a user responsive to a user interface command. The full size file may be retrieved from a file server responsive to receiving a user interface command which is explicitly directed to a full size file.

In certain implementations, the above described file management methods may be implemented to facilitate handling of file attachments by a calendar application executed by a mobile computing device. A “calendar application” herein shall refer to an application providing event scheduling and tracking for individual users and/or groups of users.

Various aspects of the above referenced systems and methods are described in details herein below by way of examples, rather than by way of limitation.

FIG. 1 depicts a network-level diagram of one illustrative embodiment of a computer system 1000 in accordance with one or more aspects of the present disclosure. The computer system 1000 may comprise one or more servers 110 executing server-side portions 120 of a file management application (e.g., a calendar application). One or more client computers 130 executing client-side portions 125 of the file management application may be connected to the server computer 110 over a plurality of interconnecting networks 115.

A “computer” herein shall refer to an apparatus including a processor, a memory, and at least one I/O interface. A computer may be represented, e.g., by a server, a virtual machine running on a host computer system, a portable or desktop personal computer (PC), a tablet computer, or a smartphone. Further, the term “computer” shall include any collection of computers that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methods described herein.

A “network” herein shall refer to a distributed communication system interconnecting two or more computers. A network may be represented, e.g., by a local area network (LAN), a wide area network (WAN), or a virtual private network (VPN). In certain implementations, the plurality of interconnecting networks 115 may include the Internet.

Functions of the computer system 1000 may be delivered to an end user via one or more client devices 130, such as, for example, a portable or desktop personal computer (PC), a tablet computer, or a smartphone. In one example, one or more client devices 130 may provide user interface functions and communicate to one or more servers 110 which may perform client request processing, load balancing, client authentication, authorization, file storage and retrieval, billing, and other functions. These and other functions may be distributed among one or more servers 110 residing in one or more physical facilities.

In another example, at least some of the above listed server-side functions may be performed by one or more client devices 130. In certain implementations, a client device 130 may perform at least a subset of its functions while not being connected to a server 110. This processing mode is also referred to as the offline client operational mode.

Some of the above listed functions, such as, for example, client request processing, load balancing, client authentication, authorization, file storage and retrieval, and/or billing, may be referred to as pertaining to the server-side functionality. Other functions, such as, for example, accepting user input, acquiring files over one or more communication interfaces, and/or rendering information on the display, may be referred to as pertaining to the client-side functionality. However, in certain implementations, the computer system 1000 may include one or more computers performing at least some of the server-side functionality pertaining to the server-side functionality and at least some of the functions pertaining to the client-side functionality. Hence, the client-side and server-side functionality designation as may be referenced herein is intended for illustration purposes having no bearing on operation of the components of the computer system 1000.

In certain implementations, the computer system 1000 may be configured to acquire files of various types over one or more communication interfaces of the mobile computing device 130. In one illustrative example, the mobile computing device 130 may be equipped with a still image camera which may be employed for acquiring still image files. In another example, the mobile computing device 130 may be equipped with a video camera which may be employed for acquiring video streams. In a further example, the mobile computing device 130 may be equipped with a microphone which may be employed for acquiring audio streams. In a further example, the mobile computing device 130 may be equipped with a keyboard or touch screen which may be employed for acquiring text files.

Responsive to acquiring a file, the mobile computing device 130 may store the file in a local memory of the mobile computing device. In one illustrative example, the mobile computing device 130 may store the file in a local file system residing in a local non-volatile memory. In another example, the mobile computing device 130 may store the file in a database residing in a local non-volatile memory.

Further responsive to acquiring the file, the mobile computing device 130 may transmit a copy of the file to one or more servers 110 executing server-side portions 120 of the file management application. One or more servers 110 may store the received file in a file system, a database, and/or or in any other repository of a suitable architecture.

Further responsive to acquiring the file, the mobile computing device 130 may produce a preview file derived from the acquired file. The preview file may have a size less than that of the base file. The preview file is intended to act as a proxy for the base file for the purposes of rendering the base file on the screen of the mobile computing device: unless specifically requested by the user to display base files, rather than preview files, the mobile computing device may, responsive to receiving a user interface command to display one or more files, display one or more preview files corresponding to the files requested by the user.

For an image file, the preview file may be provided, e.g., by a thumbnail image or other reduced size image, or a reduced resolution image. For a video file, the preview file may be provided, e.g., by a “trailer” comprising a subset of frames of the base video file. For an audio file, the preview file may be provided, e.g., by one or more parts of the base audio file. For a text file, the preview file may be provided by an abstract, a synopsis, or by other description of the base text file.

In certain implementations, the mobile computing device may produce the preview file locally. Alternatively, the mobile computing device may transmit the acquired file to an external server for processing, and may then receive the preview file from the external server. In one illustrative example, a server 110, responsive to receiving a base file from the mobile computing device 130 for storing in a server-based data repository, may process the file to produce a preview file, and transmit the preview file back to the mobile computing device 130.

The mobile computing device 130 may track access to the files stored on the mobile computing device and/or on the server 110. In one illustrative example, the mobile computing device 130 may store in the memory, for each file of the plurality of files acquired by the mobile computing device, a data structure 200 schematically illustrated by FIG. 2. The data structure 200 may include a file identifier 210, the file creation timestamp 212, the file access timestamp 214, and/or the total number of the file access operations 216. The information stored in the data structure may be used in identifying a candidate file to be removed from the local memory of the mobile computing device 130, as described in more details herein below.

The mobile computing device 130 may allocate a quota in the local memory (e.g., in one or more local file systems) for storing the files acquired by the mobile computing devices via one or more I/O interfaces. The mobile computing device 130 may eventually determine that the available local memory of the mobile computing device is insufficient to accommodate an attempted memory write operation (e.g., storing a newly acquired file in a local file system). In order to complete the attempted memory write operation, the mobile computing device 130 may select, based on a pre-defined selection criterion, one of the previously acquired files for removal from the file system, thus releasing the memory necessary to store the newly acquired file.

In one illustrative example, the mobile computing device may analyze the array of data structures 200 for the plurality of files stored in the local memory of the mobile computing device, to select the file having the minimum number of file access operations associated with it, based on the total number of the file access operations 216. In another example, the mobile computing device may analyze the array of data structures 200 for the plurality of files stored in the local memory of the mobile computing device, to select the least recently accessed file, based on the file access timestamp 214. In a further example, the mobile computing device may analyze the array of data structures 200 for the plurality of files stored in the local memory of the mobile computing device, to select the least recently acquired file, based on the file creation timestamp 212. In a further example, the mobile computing device may analyze the array of data structures 200 for the plurality of files stored in the local memory of the mobile computing device, to select a file satisfying two or more conditions, e.g., the least accessed file created no later than a given date.

In certain implementations, the mobile computing device 130 may select a file to be removed among the files of the same type as the newly acquired file. Alternatively, the mobile computing device 130 may select a file to be removed among the files having a size not less than that of the newly acquired file. In certain implementations, the mobile computing device 130 may select two or more files to be removed, having the total size not less than that of the newly acquired file.

Responsive to removing one or more selected files, the mobile computing device may complete the attempted memory write operation (e.g., storing a newly acquired file in the local memory). The mobile computing device may further append the array of structures 200 to include a data structure storing the creation and access timestamps and/or the access counter for the newly acquired file. The mobile computing device may further create and store in the local memory a preview file corresponding to the newly acquired file, as described in more details herein above.

The mobile computing device may eventually receive a user interface command requesting to perform an operation on a file that has previously been removed from the local memory. The mobile computing device may then present a corresponding preview file and/or, responsive to receiving a user interface command explicitly directed to the base file, retrieve the base file from the server on which the file has previously been stored. If the local file system does not have available space sufficient to accommodate the full size file being retrieved from the server, the mobile computing device may select one or more least accessed or least recently accessed files as described in more details herein above, and remove the files from the local file system.

Thus, as schematically illustrated by FIG. 3, the mobile computing device 130 may store in the local memory (e.g., in a local file system 310) preview files 312 for at least some of the files 314 acquired by the mobile computing device. The mobile computing device may further store full size versions of at least some of the files 314, to the extent that the full size files may be accommodated in the local memory of the mobile computing device. In one illustrative example, the mobile computing device may store, in a local file system 310 within a pre-defined quota 316, a plurality of preview files 312 corresponding to the base files 314. The mobile computing device may further store, in the local file system 310 within the pre-defined quota 316, a plurality of preview files 312-2 having no corresponding base files, since the base files corresponding to the preview files 312-2 could not be accommodated in the local file system 310 within the pre-defined quota 316.

A base file 314-1 may be removed from the file system in order to accommodate a newly acquired file 318, and a corresponding preview file 312-1 may be presented to a user responsive to a user interface command. The full size file 314-1 may be retrieved from a file server responsive to a user interface command explicitly directed to the full size file 314-1.

In certain implementations, the computer system 1000 may execute a calendar application facilitating event scheduling and tracking for individual users and/or groups of users. Users may access the calendar application by various client devices, including mobile computing devices 130.

In one example, the computer system 1000 may support a data model comprising calendar entries and memorandums, as schematically illustrated by FIG. 4. A calendar entry may be represented by a data structure 410 comprising an identifier 412 and a time 414. In certain implementations, the identifier 412 may be provided by a human readable sequence of alphanumeric characters comprising a title and/or description of a calendar entry. Alternatively, the calendar entry identifier may be provided by an alphanumeric or non-alphanumeric identifier which is not intended to be human-readable.

In certain implementations, the time 414 may be represented by a start time of an event identified by the calendar entry and duration of the event. Alternatively, the time 414 may be represented by a start time and end time of the event. The start time and/or end time of the event may be represented by a date (e.g., comprising a day, a month, and a year) and time of day (e.g., comprising an hour, a minute, and a second). The time 414 may further comprise a time zone identifier.

The data structure 410 may further comprise a calendar entry title 416, description 418, location 420, an identifier of an initiator 422 of the event identified by the calendar entry, a list of participants 424 of the event, recurring schedule 426, and/or other fields. In certain implementations, the data structure 410 may comprise a type identifier 411 of the calendar entry. Examples of calendar entries represented by the data structure 410 may include appointments, meeting requests, reminders, etc. In certain implementations, the data structure 410 may comprise one or more pointers 428 to data sets which may be referred to as attachments. In one example, an attachment may be provided by a file of an arbitrary type, such as text, audio stream, video stream, still image, etc.

A memorandum may be represented by a data structure 440 comprising a memorandum text 248. In certain implementations, the data structure 440 may further comprise a type identifier 441, a memorandum identifier 442, the time of creation and/or modification 444 of the memorandum, and/or a title 446 of the memorandum. The time 444 may be represented by a date (e.g., comprising a day, a month, and a year) and time of day (e.g., comprising an hour, a minute, and a second). The time 444 may further comprise a time zone identifier.

In certain implementations, the data structure 440 may comprise one or more pointers 450 to data sets which may be referred to as attachments. In one example, an attachment may be provided by a file of an arbitrary type, such as text, audio stream, video stream, still image, etc.

In certain implementations, the computer system 1000 may store the above referenced files and/or data structures in a relational database residing on one or more computers, including one or more servers 110 and/or one or more client devices 130. In certain implementations, other methods of storing the files and/or data structures implementing the above described data model may be employed by the computer system 1000, such as, e.g., a hierarchical database, or one or more flat files.

In certain implementations, the computer system 1000 may store a user directory associated with the calendar system in a directory server, such as a Lightweight Directory Access Protocol (LDAP) server. In certain implementations, other methods of storing the user directory, including, e.g., a native user directory provided by the operating system of a server 110, may be employed by the computer system 1000.

Upon receiving a user interface command, the computer system 1000 may render, on a client device, one or more calendar entries and/or memorandums via various views, including, e.g., calendar view and notebook view.

The calendar view may comprise one or more calendar entries rendered on a screen with visual references to one or more time indicators. In one example, as schematically illustrated by FIG. 5a , the calendar view 500 may comprise one or more week views 510. The week view 510 may comprise up to seven visually distinct screen areas corresponding to days of the week (day views 512). Each day view may be visually divided into several screen areas 514 corresponding to time of day. One or more time of day values may be placed within a day view. One or more calendar entries 516 may be shown within a day view 512. In another example, as schematically illustrated by FIG. 5b , the calendar view 500 may comprise one or more month views 520. The month view 520 may comprise a plurality of week views 510. The week view 510 may comprise up to seven visually distinct screen areas corresponding to days of the week (day views 512). Each day view may be visually divided into several screen areas 514 corresponding to time of day. One or more time of day values may be placed within a day view. One or more calendar entries 516 may be shown within a day view 512. In a further example, the calendar view may comprise quarter view, year view, and/or other views.

The notebook view may comprise one or more memorandums rendered on a screen. In one example, as schematically illustrated by FIG. 6a , one or more memorandums 610 rendered within the notebook view 600 may be sorted alphabetically by title/subject. In another example, as schematically illustrated by FIG. 6b , one or more memorandums rendered within the notebook view 600 may be sorted chronologically by the date of time of creation or modification of the memorandum.

In certain implementations, the computer system 1000 may render one or more calendar event and one or more memorandums in a mixed view, e.g., selecting and/or sorting calendar events and memorandums by title, keyword, author, and/or date and time of creation or modification of the calendar event or the memorandum.

In certain implementations, the computer system 1000 may accept a user input editing an existing calendar entry or an existing memorandum. In one example, responsive to accepting a user input editing a memorandum, the computer system 1000 may determine that the newly added text comprises a time reference. Following such a determination, the computer system 1000 may convert the memorandum into a calendar entry, and store in the calendar entry data structure the time identified by the time reference along with zero or more optional fields, as described in more details herein above.

FIG. 7 depicts a flow diagram of one embodiment of a method 700 for file management by mobile computing devices. The method 700 may be performed by a computer system that may comprise hardware (e.g., circuitry, dedicated logic, and/or programmable logic), software (e.g., instructions executable on a computer system to perform hardware simulation), or a combination thereof. The method 700 and/or each of its individual functions, routines, subroutines, or operations may be performed by one or more physical processors of the computer system executing the method. Two or more functions, routines, subroutines, or operations of the method 700 may be performed in parallel or in an order which may differ from the order described above.

The processing may commence by the mobile computing device receiving, at block 710, a file via one or more I/O interfaces of the mobile computing device. In certain implementations, the mobile computing device may be configured to acquire files of various types: in one illustrative example, the mobile computing device may be equipped with a still image camera which may be employed for acquiring still image files; in another example, the mobile computing device may be equipped with a video camera which may be employed for acquiring video streams; in a further example, the mobile computing device may be equipped with a microphone which may be employed for acquiring audio streams; in a further example, the mobile computing device may be equipped with a keyboard or touch screen which may be employed for acquiring text files.

At block 715, the mobile computing device may store the file in a local memory of the mobile computing device. In one illustrative example, the mobile computing device 130 may store the file in a local file system residing in a local non-volatile memory. In another example, the mobile computing device may store the file in a database residing in a local non-volatile memory.

At block 720, the mobile computing device may transmit a copy of the file to one or more external computers (e.g., file servers executing server-side portions of the file management application).

At block 725, the mobile computing device may store in the local memory a second file (also referred to as a “preview” file) derived from the first file. The size of the preview file may be less than the size of the first file. For an image file, the preview file may be provided, e.g., by a thumbnail image or other reduced size image, or a reduced resolution image. For a video file, the preview file may be provided, e.g., by a “trailer” comprising a subset of frames of the base video file. For an audio file, the preview file may be provided, e.g., by one or more parts of the base audio file. For a text file, the preview file may be provided by an abstract, a synopsis, or by other description of the base text file. In certain implementations, the mobile computing device may produce the preview file locally. Alternatively, the mobile computing device may transmit the acquired file to an external server for processing, and may then receive the preview file from the external server.

Responsive to determining, at block 730, that the local memory is not sufficient to perform an attempted memory write operation, the processing may continue at block 735; otherwise the method may terminate. In certain implementations, the mobile computing device may allocate a quota in the local memory (e.g., in one or more local file systems) for storing the files acquired by the mobile computing devices via one or more I/O interfaces. The mobile computing device may eventually determine that the available local memory of the mobile computing device is insufficient to accommodate an attempted memory write operation (e.g., storing a newly acquired file in a local file system).

At block 735, the mobile computing device may select a third file, such that the third file has a fourth file associated with it, the fourth file being derived from the third file. In order to complete the attempted memory write operation, the mobile computing device may select, based on a pre-defined selection criterion, one of the previously acquired files for removal from the file system, thus releasing the memory necessary to store the newly acquired file. In one illustrative example, the mobile computing device may select the file having the minimum number of file access operations associated with it. In another example, the mobile computing device may select the least recently accessed file. In a further example, the mobile computing device may select the least recently acquired file. In a further example, the mobile computing device may select a file satisfying two or more conditions, e.g., the least accessed file created no later than a given date. In certain implementations, the mobile computing device may select a file to be removed among the files of the same type as the newly acquired file. Alternatively, the mobile computing device may select a file to be removed among the files having a size not less than that of the newly acquired file. In certain implementations, the mobile computing device may select two or more files to be removed, having the total size not less than that of the newly acquired file.

At block 740, the mobile computing device may remove the selected file from the local memory.

At block 745, the mobile computing device may complete the attempted memory write operation.

At block 750, the mobile computing device may receive a user interface command requesting to perform an operation on the third file.

At block 755, the mobile computing device may retrieve a copy of the third file from the server on which the file has previously been stored. If the local file system does not have available space sufficient to accommodate the full size file being retrieved from the server, the mobile computing device may select one or more least accessed or least recently accessed files as described in more details herein above, and remove the files from the local file system. Responsive to completing the operations references by block 755, the method may terminate.

FIG. 8 depicts an example computer system 100 capable of executing instructions causing the computer to perform one or more of the methods described herein. In certain embodiments, the computer system 100 may correspond to one or more servers 110 and/or client devices of FIG. 1.

In certain embodiments, the computer system 100 may be connected (e.g., via a network, such as a Local Area Network (LAN), an intranet, an extranet, or the Internet) to other computer systems. The computer system 100 may operate in the capacity of a server or a client computer in a client-server environment, or as a peer computer in a peer-to-peer or distributed network environment. The computer system 100 may be provided by a personal computer (PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant (PDA), a cellular telephone, a web appliance, a server, a network router, switch or bridge, or any device capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that device.

In a further aspect, the computer system 100 may include a processor 1002, a volatile memory 1004 (e.g., random access memory (RAM)), a non-volatile memory 1006 (e.g., read-only memory (ROM) or electrically-erasable programmable ROM (EEPROM)), and a secondary memory 1016 (e.g., a data storage device), which may communicate with each other via a bus 1008. The processor 1002 may be provided by one or more processors such as a general purpose processor (such as, for example, a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a microprocessor implementing other types of instruction sets, or a microprocessor implementing a combination of types of instruction sets) or a specialized processor (such as, for example, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), or a network processor).

The computer system 100 may further include a network interface device 1022. The computer system 100 also may include a video display unit 1010 (e.g., an LCD), an alphanumeric input device 1012 (e.g., a keyboard), a pointing device 1014 (e.g., a mouse), and an audio output device 1020 (e.g., a speaker).

The secondary memory 1016 may include a non-transitory computer-readable storage medium 1024 on which may be stored instructions of the file management applications 120, 125. Instructions of the file management applications 120, 125 may also reside, completely or partially, within the main memory 1004 and/or within the processor 1002 during execution thereof by the computer system 1000, hence, the main memory 1004 and the processor 1002 may also constitute machine-readable storage media. While the computer-readable storage medium 1024 is shown in the illustrative embodiment as a single medium, the term “computer-readable storage medium” shall include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of executable instructions. The term “computer-readable storage medium” shall also include any non-transitory medium that is capable of storing or encoding a set of instructions for execution by a computer that cause the computer to perform any one or more of the methods described herein. The term “computer-readable storage medium” shall include, but not be limited to, solid-state memories, optical media, and magnetic media.

The methods, components, and features described herein may be implemented by discrete hardware components or may be integrated in the functionality of other hardware components such as ASICS, FPGAs, DSPs or similar devices. In addition, the methods, components, and features may be implemented by firmware modules or functional circuitry within hardware devices. Further, the methods, components, and features may be implemented in any combination of hardware devices and software components, or only in software.

Unless specifically stated otherwise, terms such as “updating”, “identifying”, “determining”, “sending”, “assigning”, or the like, refer to actions and processes performed or implemented by computer systems that manipulate and transform data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

Embodiments described herein also relate to an apparatus for performing the methods described herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer system selectively programmed by a computer program stored in the computer system. Such a computer program may be stored in a computer-readable non-transitory storage medium.

The methods and illustrative examples described herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used in accordance with the teachings described herein, or it may prove convenient to construct more specialized apparatus to perform the required method functions, routines, subroutines, or operations. The required structure for a variety of these systems will appear as set forth in the description above.

The above description is intended to be illustrative, and not restrictive. Although the present disclosure has been described with references to specific illustrative examples and embodiments, it will be recognized that the present disclosure is not limited to the embodiments described. The scope of the disclosure should be determined with reference to the following claims, along with the full scope of equivalents to which the claims are entitled. 

The invention claimed is:
 1. A method, comprising: storing, by a computer system, a plurality of base files in a memory; causing a remote server to store copies of the plurality of base files; storing, in the memory, a plurality of preview files, each preview file having been derived from a corresponding base file of the plurality of base files, wherein a size of each preview file is less than a size of the corresponding base file; responsive to determining that a pre-defined memory quota has been exceeded by the plurality of base files and the plurality of preview files, selecting, among the plurality of base files, a first base file having a size more or equal than a size of memory necessary for performing a memory write operation that is requested by a first user interface command; removing the first base file from the memory; performing the memory write operation; responsive to receiving a second user interface command requesting the first base file, presenting a first preview file corresponding to the first base file; and responsive to receiving a third user interface command explicitly requesting a full size file corresponding to the first preview file: selecting, among the plurality of base files, a second base file which is a least recently accessed base file created on or before a specified date, removing the second base file from the memory, and retrieving a copy of the first base file from the remote server.
 2. The method of claim 1, wherein each base file is provided by one of: a still image file, a video file, an audio file, or a document file.
 3. The method of claim 1, wherein each preview file is provided by at least part of a corresponding base file.
 4. The method of claim 1, wherein selecting the second base file comprises selecting two or more files.
 5. The method of claim 1, further comprising receiving the plurality of base files via one of: a still image camera, a video camera, a microphone, or a network interface.
 6. The method of claim 1, wherein the memory write operation is represented by storing in the memory a newly acquired base file received by the computer system.
 7. The method of claim 6, wherein the newly acquired base file is provided by one of: a still image file, a video file, an audio file, or a document file.
 8. The method of claim 6, further comprising receiving the newly acquired base file via an input/output interface.
 9. The method of claim 6, further comprising transmitting the newly acquired base file to an external computer.
 10. The method of claim 1, wherein storing each preview file comprises receiving the preview file via a communication interface responsive to transmitting a corresponding base file to the remote server.
 11. The method of claim 1, wherein each preview file is provided by a description of a corresponding base file.
 12. The method of claim 1, wherein each preview file is provided by a subset of video frames of a corresponding base file.
 13. The method of claim 1, wherein each preview file is provided by a reduced resolution image of a corresponding base file.
 14. A system, comprising: a memory; and a processor coupled to the memory, the processor configured to: store, in the memory, a plurality of base files; cause a remote server to store copies of the plurality of base files; store, in the memory, a plurality of preview files, each preview file having been derived from a corresponding base file of the plurality of base files, wherein a size of each preview file is less than a size of the corresponding base file; responsive to determining that a pre-defined memory quota has been exceeded by the plurality of base files and the plurality of preview files, select, among the plurality of base files, a first base file having a size more or equal than a size of memory necessary for performing a memory write operation that is requested by a first user interface command; remove the first base file from the memory; complete the memory write operation; responsive to receiving a second user interface command requesting the first base file, present a first preview file corresponding to the first base file; and responsive to receiving a third user interface command explicitly requesting a full size file corresponding to the first preview file: select a second base file which is a base file having a minimum number of file access operations among base files created on or before a specified date, remove the second base file from the memory, and retrieve a copy of the first base file from the remote server.
 15. The system of claim 14, wherein the processor is further configured to receive a base file of the plurality of base files via an input/output interface.
 16. The system of claim 14, wherein the processor is further configured to transmit a base file of the plurality of base files to an external computer.
 17. The system of claim 14, wherein each base file is provided by one of: a still image file, a video file, an audio file, or a document file.
 18. A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a computer system, cause the computer system to: store, in a memory, a plurality of base files; cause a remote server to store copies of the plurality of base files; store, in the memory, a plurality of preview files, each preview file having been derived from a corresponding base file of the plurality of base files, wherein a size of each preview file is less than a size of the corresponding base file; responsive to determining that a pre-defined memory quota has been exceeded by the plurality of base files and the plurality of preview files, select, among the plurality of base files, a first base file having a size more or equal than a size of memory necessary for performing a memory write operation that is requested by a first user interface command; remove the first base file from the memory; perform the memory write operation; responsive to receiving a second user interface command requesting the first base file, present a first preview file corresponding to the first base file; and responsive to receiving a third user interface command explicitly requesting a full size file corresponding to the first preview file: select, among the plurality of base files, a second base file which is a least recently accessed base file created on or before a specified date, remove the second base file from the memory, and retrieve a copy of the first base file from the remote server.
 19. The computer-readable non-transitory storage medium of claim 18, wherein executable instructions causing the computer system to store each preview file further comprise executable instructions causing the computer system to receive the preview file via a communication interface responsive to transmitting a corresponding base file to an external computer.
 20. The computer-readable non-transitory storage medium of claim 18, wherein each base file is provided by one of: a still image file, a video file, an audio file, or a document file. 